package com.java47.pojo;

import java.io.Serializable;

public class Option implements Serializable {
    private String oid;
    private String option;
    private String order;//票数
    private String sid;
    private Double lenth;

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public String getOption() {
        return option;
    }

    public void setOption(String option) {
        this.option = option;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public Double getLenth() {
        return lenth;
    }

    public void setLenth(Double lenth) {
        this.lenth = lenth;
    }

    @Override
    public String toString() {
        return "Option{" +
                "oid='" + oid + '\'' +
                ", option='" + option + '\'' +
                ", order='" + order + '\'' +
                ", sid='" + sid + '\'' +
                ", lenth=" + lenth +
                '}';
    }

    public Option() {
    }

    public Option(String oid, String option, String order, String sid, Double lenth) {
        this.oid = oid;
        this.option = option;
        this.order = order;
        this.sid = sid;
        this.lenth = lenth;
    }

    public Option(String option, String sid) {
        this.option = option;
        this.sid = sid;
    }
}
